package chap5;

/**
 * @author oldliu
 * @since 1.0
 */
public class WhileZhaoshuzi {
    public static void main(String[] args) {
        int k = 10000;
        while (k < 100000) {
            if ((k / 10 % 10) % 2 != 0) {
                k++;
                continue;
            }
            if (k % 3 != 0) {
                k++;
                continue;
            }

            if (k % 7 != 0) {
                k++;
                continue;
            }

            if (k % 11 != 0) {
                k++;
                continue;
            }

            System.out.println(k);
            k++;
        }
    }
}
